package com.chen.dao.user;

import com.chen.pojo.User;


import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface UserDao {
    User getLoginUser(Connection con,String userCode) throws SQLException;
    int updatePwd(Connection con,int id ,String password) throws SQLException;
    int getUserCount(Connection con, String username,int userRole)throws SQLException;
    List<User> getUserList(Connection con,String userName,int userRole,int currentPageNo,int pageSize) throws SQLException;
}
